from aip import AipContentCensor

""" 你的 APPID AK SK """


def Audit(pmh):
    APP_ID = '44415590'
    API_KEY = 'EKXzaGzTm2LdkVD13Gy0phed'
    SECRET_KEY = 'XOmNA4X0p8tsqY2iYN3wYUVUVExLGyGC'
    client = AipContentCensor(APP_ID, API_KEY, SECRET_KEY)
    res = client.textCensorUserDefined(pmh)
    print(res)
    return res

